﻿using Ln.Fram.SqlSugarCore.Abstractions;
using Ln.Rbac.Domain.Entities;

namespace Ln.Rbac.Domain.Repositories;

public interface IUserRepository : ISqlSugarRepository<UserAggregateRoot>
{
	/// <summary>
	/// 获取用户的所有信息
	/// </summary>
	/// <param name="userId"></param>
	/// <returns></returns>
	Task<UserAggregateRoot> GetUserAllInfoAsync(Guid userId);
	
	/// <summary>
	/// 批量获取用户的所有信息
	/// </summary>
	/// <param name="userIds"></param>
	/// <returns></returns>
	Task<List<UserAggregateRoot>> GetListUserAllInfoAsync(List<Guid> userIds);
}
